OpenLayers Cookbook by Perez Antonio Santiago
Author:Perez, Antonio Santiago
Language: eng
Format: epub, pdf
Publisher: Packt Publishing
Chapter 5. Adding Controls
In this chapter we will cover:
Adding some visual controls
Adding the NavigationHistory control
Working with geolocation
Placing controls outside the map
Editing features on multiple vector layers
Modifying features
Measuring distances and areas
Getting feature information from a data source
Getting information from a WMS server
Introduction
This chapter explores from the basics, the most important and common controls that OpenLayers offers us as developers. Controls allow us to navigate through the map, play with layers, zoom in or out, perform actions such as editing features, measuring distances, and the like. In essence, controls allow us to interact.
The OpenLayers.Control class is the base class for all the controls and contains the common properties and methods that a control can have. We can summarize this as follows:
A control is attached to a map
A control can trigger events
A control can be activated or deactivated
A control can have a visual representation (such as a button) or have no visual representation (such as the drag action)
Download
OpenLayers Cookbook by Perez Antonio Santiago.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Hello! Python by Anthony Briggs(9928)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9804)
The Mikado Method by Ola Ellnestam Daniel Brolund(9787)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8310)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7792)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7772)
Grails in Action by Glen Smith Peter Ledbrook(7705)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7567)
Windows APT Warfare by Sheng-Hao Ma(6950)
Layered Design for Ruby on Rails Applications by Vladimir Dementyev(6684)
Blueprints Visual Scripting for Unreal Engine 5 - Third Edition by Marcos Romero & Brenden Sewell(6550)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6424)
Kotlin in Action by Dmitry Jemerov(5074)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4323)
Solidity Programming Essentials by Ritesh Modi(4064)
Functional Programming in JavaScript by Mantyla Dan(4044)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3857)
Unity 3D Game Development by Anthony Davis & Travis Baptiste & Russell Craig & Ryan Stunkel(3799)
The Ultimate iOS Interview Playbook by Avi Tsadok(3776)
